/*
 * @Author: MoWanPing
 * @Date: 2023-12-19 12:59:47
 * @LastEditTime: 2023-12-28 10:44:40
 * @LastEditors: MoWanPing
 * @Description: 
 * @FilePath: \jnks_low_air_front_gov\src\api\cockpit\device.js
 */
import request from '@/utils/request'

// 查询设备数据
export function getDeviceData() {
  return request({
    url: '/surveillance/display/deviceList',
    method: 'get',
  })
}

// 查询设备详细信息
export function getDeviceDetail(id) {
  return request({
    url: '/surveillance/display/deviceInfo/' + id,
    method: 'get',
  })
}

// 设备气象
export function getDeviceWeather() {
  return request({
    url: '/surveillance/meteorology/weather',
    method: 'get',
  })
}